#pragma once
#include "Controller.h"

class TargetControlLogic;

class TargetController :
	public Controller
{

private:
	TargetControlLogic* targetControlLogic;
	unsigned int currentTargetIndex;
	unsigned int currentProjectileTargetIndex;

	std::vector<Projectile> projectiles;

public:
	TargetController(TargetControlLogic* targetControlLogic);
	~TargetController(void);

	bool apply(EntityControl*, const ControlContext&);

	bool isSpawningNeeded();
	Projectile getNextSpawnItem();

};
